<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,">
    <!-- <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" /> -->
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>昨日头条</title>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
  <!-- 此处代码用于禁止手机端页面缩放 -->
  <script>
    window.onload = function() {
      document.addEventListener('touchstart', function(e) {
        console.log("1",e.touches.length)
        if (e.touches.length > 1) {
          e.preventDefault()
        }
      })
      document.addEventListener('gesturestart', function(e) {
        console.log("2")
        e.preventDefault()
      })
    }
    </script>
</html>

